import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useMoneyStore = defineStore('money',()=>{
    const money = ref(0)
    const setMoney = (num:number)=>{
        money.value = num
    }
    return {
        money,
        setMoney
    }
})